package com.atguigu.gmall.list.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping
    public String sayHello(){
       return "hello!!!!";
    }

    @GetMapping("retern")
    public String sayHi(){
        return "hi????";
    }


}
